// pages/wode/wode.js
const userApi = require('../../utils/user'); // 引入封装好的请求工具

Page({
  data: {

  },
  // 页面跳转事件处理函数
  navigateToPage() {

      wx.navigateTo({
        url: '/pages/login/login',
      });
    
  },
  ceshi(){
    userApi.getUserProfile().then(res =>{
      console.log(res);
    })
  },
  // 更换头像点击事件
  onAvatarClick() {
    wx.navigateTo({
      url: '/pages/profile/profile',
    });
  },

  goToHouse(){
    wx.navigateTo({
      url: './myHouse/myHouse',
    })
  },
  goToFamily(){
    wx.navigateTo({
      url: './myFamily/myFamily',
    })
  },

  goToCar(){
    wx.navigateTo({
      url: '/pages/wode/myVehicle/myVehicle',
    })
  },
  onShow(){
    wx.getStorageInfoSync('',)
  },

  onLoad(){

  },

  

});